/**
 * Candidate number: 35834
 */
package tv.starfu.sequencer;

public class ActivationGrid {
    
    private int rows;
    private int columns;
    private int[][] cells;
    
    public enum cellStates { ALIVE, NEON, GLOWING }
    
    public ActivationGrid(int numChannels, int numSteps) {
        rows     = numChannels;
        columns  = numSteps;
        
        // Init grid
        cells = new int[numChannels][numSteps];
        for(int i = 0; i < 7; ++i) {
            for(int j = 0; j < 16; ++j) {
                cells[i][j] = 0;
            }
        }
    }
    
    /**
     * Activate the given cell.
     * @param x
     * @param y 
     */
    public void activateCell(int x, int y) {
        cells[x][y] = 3;
    }

    public int[][] getCells() {
        return cells;
    }

    public void setCells(int[][] cells) {
        this.cells = cells;
    }

    public int getColumns() {
        return columns;
    }

    public int getRows() {
        return rows;
    }

    
    
    
}
